<template>
  <el-dialog title="图片下载" v-model="open" width="900px" append-to-body @close="close">
    <el-table :data="imgList">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="主键ID" align="center" prop="id">
        <template #default="scope">
          <img :src="scope.row" alt="" width="100" height="100">
        </template>
      </el-table-column>
    </el-table>
  </el-dialog>
</template>
<script setup name="imgDilog">
const open = ref(true)
const emit = defineEmits(['imgClose']);
const props = defineProps({
  imgList: {
    type: Array,
    required: true // 父组件必须传递该参数
  },
});
function close(){
  emit('imgClose')
}
// 多选框选中数据
</script>